package _set;

import java.nio.channels.NonWritableChannelException;

public class hashsetstruct {
    public static void main(String[] args) {
        Node[] table = new Node[16];
       
        Node join = new Node("join", null);
        table[2]=join;
        Node jack = new Node("jack", null);
        join.next = jack;
        Node rose = new Node("rose", null);
        jack.next = rose;
        System.out.println("table="+table);
    }
}
class Node{
    Object item;
    Node next;
    public Node(Object item,Node next){
        this.item=item;
        this.next=next;

    }
}